<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
	<head>
		<title>JSP for PersonForm form</title>
	</head>
	<body>
		<table width="100%" border="0" align="center" cellpadding="0"
			cellspacing="0">
			<tr>
				<td height="30">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="30">
								<img src="../system/images/tab/tab_03.gif" width="15"
									height="30" />
							</td>
							<td background="../system/images/tab/tab_05.gif">
								<img src="../system/images/tab/311.gif" width="16" height="16" />
								<span class="STYLE4">优稳职工列表</span>
							</td>
							<td width="14">
								<img src="../system/images/tab/tab_07.gif" width="14"
									height="30" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td>
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="9" background="../system/images/tab/tab_12.gif">
								&nbsp;
							</td>
							<td bgcolor="e5f1d6">
								<table width="99%" border="0" align="center" cellpadding="0"
									cellspacing="1" bgcolor="#CECECE">
									<tr>
										<td width="8%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												账号
											</div>
										</td>
										<td width="14%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												用户名
											</div>
										</td>
										<td width="7%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												性别
											</div>
										</td>
										<td width="11%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2 STYLE1">
												部门
											</div>
										</td>
										<td width="12%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2">
												职位
											</div>
										</td>
										<td width="14%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2">
												上次登陆时间
											</div>
										</td>
										<td width="14%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2">
												创建时间
											</div>
										</td>
										<td width="7%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2">
												编辑
											</div>
										</td>
										<td width="7%" height="18"
											background="../system/images/tab/tab_14.gif" class="STYLE1">
											<div align="center" class="STYLE2">
												删除
											</div>
										</td>
									</tr>
									<c:forEach var="person" items="${ personList }">
										<tr>
											<td height="18" bgcolor="#FFFFFF" class="STYLE2">
												<div align="center" class="STYLE2 STYLE1">
													${ person.account }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center" class="STYLE2 STYLE1">
													${ person.name }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center" class="STYLE2 STYLE1">
													${ person.sex }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center" class="STYLE2 STYLE1">
													${ person.dept.deptName }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center">
													${ person.position.position }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center">
													${ person.dateLastActived }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center">
													${ person.dateCreated }
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center">
													<img src="../system/images/tab/037.gif" width="9"
														height="9" />
													<span class="STYLE1"> [</span><s:url action="initAdd_person" namespace="/system" id="url">
														<s:param name="person.id">${ person.id }</s:param>
														<s:param name="title">modify</s:param>
													</s:url>
													<a href="${url}"> 编辑</a><span
														class="STYLE1">]</span>
												</div>
											</td>
											<td height="18" bgcolor="#FFFFFF">
												<div align="center">
													<span class="STYLE2"><img
															src="../system/images/tab/010.gif" width="9" height="9" />
													</span><span class="STYLE1">[</span><s:url action="delete_person" namespace="/system" id="url">
														<s:param name="person.id">${ person.id }</s:param>
													</s:url>
													<a href="${url}"> 删除</a><span
														class="STYLE1">]</span>
												</div>
											</td>
										</tr>
									</c:forEach>
								</table>
							</td>
							<td width="9" background="../system/images/tab/tab_16.gif">
								&nbsp;
							</td>
						</tr>
					</table>
				</td>
			</tr>
			<tr>
				<td height="29">
					<table width="100%" border="0" cellspacing="0" cellpadding="0">
						<tr>
							<td width="15" height="29">
								<img src="../system/images/tab/tab_20.gif" width="15"
									height="29" />
							</td>
							<td background="../system/images/tab/tab_21.gif">
								<table width="100%" border="0" cellspacing="0" cellpadding="0">
									<tr>
										<td width="60%">
											<div align="left">
												<span class="STYLE1"> ${ pagination }</span>
											</div>
										</td>
										<td width="40%" class="STYLE1">
											&nbsp;
										</td>
									</tr>
								</table>
							</td>
							<td width="14">
								<img src="../system/images/tab/tab_22.gif" width="14"
									height="29" />
							</td>
						</tr>
					</table>
				</td>
			</tr>
		</table>

	</body>
</html>

